Independent beacon based light position system

ABSTRACT

Systems an methods are provided that disclose providing a positioning service for devices based on light received from one or more light sources. This light based positioning service uses light information transmitted by each light source to determine the position of the device. The positioning information can include three dimension position information in a building that can then be used to deliver services and information to a mobile device. The content delivered to a mobile device can include multimedia, text, audio, and/or pictorial information. The positioning information along with other location or positioning information can be used in providing augmented reality or location aware services. The light sources can be independent beacons that broadcast information in visible light at a rate that is undetectable by the human eye. Content can be retrieved from a server over a communications connection.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.13/369,144, entitled “INDEPENDENT BEACON BASED LIGHT POSITION SYSTEM,”filed Feb. 8, 2012, which claims benefit under 35 U.S.C. §119(e) to U.S.Provisional Patent Application No. 61/567,484, entitled “SYSTEMS ANDMETHODS FOR LIGHT BASED LOCATION,” filed Dec. 6, 2011, and U.S.Provisional Patent Application No. 61/511,589, entitled “SYSTEM USINGOPTICAL ENERGY FOR WIRELESS DATA TRANSFER,” filed Jul. 26, 2011, all ofwhich are incorporated by reference herein in their entirety.

TECHNICAL FIELD

This disclosure relates generally to a system and method for providingposition of a mobile device based on light received from one or morelight sources.

BACKGROUND

Indoor positioning services refers to methods where networks of devicesand algorithms are used to locate mobile devices within buildings.Indoor positioning is regarded as a key component of location-awaremobile computing and is a critical element in providing augmentedreality (AR) services. Location aware computing refers to applicationsthat utilize a user's location to provide content relevant to thatlocation. Additionally, AR is a technology that overlays a virtual spaceonto a real (physical) space. To successfully enable AR and locationaware computing, accurate indoor positioning is a key requirement.

Global Positioning Systems (GPS) loses significant power when passingthrough construction materials, and suffers from multi-path propagationeffects that make it unsuitable for indoor environments. Techniquesbased on received signal strength indication (RSSI) from WiFi andBluetooth wireless access points have also been explored. However,complex indoor environments cause radio waves propagate in dynamic andunpredictable ways, limiting the accuracy of positioning systems basedon RSSI. Ultrasonic techniques (US), which transmit acoustic waves tomicrophones, are another method which can be used to approximate indoorposition. They operate at lower frequencies than systems based on WiFiand attenuate significantly when passing through walls. This potentiallymakes US techniques more accurate than WiFi or Bluetooth techniques.

Optical indoor positioning techniques use optical signals, eithervisible or infrared, and can be used to accurately locate mobile devicesindoors. These are more accurate than the approaches mentionedpreviously, since optical signals are highly directional and cannotpenetrate solid objects. However this directionality limits thepotential reliability of optical signals, since difficulty in aligningthe receiver and transmitter can occur.

BRIEF DESCRIPTION OF THE DRAWINGS

The drawing figures depict one or more implementations in accord withthe present concepts, by way of example only, not by way of limitations.In the figures, like reference numerals refer to the same or similarelements.

FIG. 1 is a representation of a mobile device receiving light from a LEDlight source.

FIG. 2 is a representation of a mobile device receiving multiple sourcesof light simultaneously from multiple LED light sources.

FIG. 3 is a representation of the internal components commonly found ina LED light source that is capable of being modulated to send digitaldata.

FIG. 4 illustrates information which can be optically transmitted froman LED light source.

FIG. 5 is a representation of the components which are commonly found inmobile devices which enable them to receive optical signals from LEDsources.

FIG. 6 is a representation of multiple LED light sources sending uniqueinformation to multiple mobile devices.

FIG. 7 illustrates the process of a mobile device sending identificationinformation and receiving location information via a network to aserver.

FIG. 8 illustrates the high level contents of the server which includesdatabases and web services for individual areas enabled with lightpositioning systems.

FIG. 9 illustrates the components inside the databases.

FIG. 10 illustrates the information contained in the Light IDs database.

FIG. 11 illustrates the information contained in the Maps database.

FIG. 12 illustrates the information contained in the Content database.

FIG. 13 illustrates the information contained in the Analytics database.

FIG. 14 illustrates the process of a mobile device receiving locationand content information via a light based positioning system.

FIG. 15 is a process illustrating the background services and how theyactivate various sensors contained inside the mobile device.

FIG. 16 illustrates the process of combining multiple informationsources with a light based positioning service.

FIG. 17 illustrates how a client accesses multiple light positioningenabled locations with multiple mobile devices.

DETAILED DESCRIPTION

Systems and methods are provided that disclose providing a positioningservice for devices based on light received from one or more lightsources. This light based positioning service uses light informationtransmitted by each light source to determine the position of thedevice. The device captures the one or more light sources and is thenable to detect the information transmitted by each of the light sources.The light information can include an identification code that is used toidentify the position of the light source. By capturing more than onelight source on the device the accuracy of the device's position can beimproved. The position information can then be used to provide relevantcontent information to the user. The light sources are each independentbeacons that transmit individual identification information throughlight.

In some embodiments light sources are used to provide an indoorpositioning service to mobile devices. Each light source is given anidentification code, corresponding to an associated database, whichcontains information that ties the light source to specific locationdata. The identification codes are broadcasted through visible light bymodulating the LED light source. The modulation occurs at speeds thatare undetectable by the human eye, yet appropriate to be received by acamera equipped mobile device. The mobile device receives theidentification information, and uses it to lookup its indoor position inthe form of location data. Since the identification information istransmitted through visible light, which is highly directional, themobile device is known to be within the line of sight of the LED lightsource. Since the indoor position of the LED light source is known frombuilding floor plans and lighting plans, the corresponding indoorposition of the mobile device can be determined.

Another embodiment describes a scenario where a mobile device is in viewof three or more LED light sources. Each source emits uniqueidentification information, and with knowledge of the relative positionsof each LED light source, one can calculate the device's relativeposition in three dimensions. This process utilizes photogrammetricimage processing techniques to identify and calculate coordinates forthe positions of the light sources in order to relatively locate themobile device.

Yet another embodiment describes a system by which a mobile device 103can receive content based upon identification information received fromeither one or more LED light sources. The identification information isused to access a database that correlates LED lights and content. Anexample of such a use case would be a mobile device user in a museum,who receives identification information from a light source illuminatingan exhibit, and then uses the received identification information toobtain additional content about the exhibit.

FIG. 1 represents a mobile device 103 receiving light 102 from a LEDlight source 101. The LED light source 101 can be any lighting sourceused for general purpose, spot illumination, or backlighting. The LEDlight source can come in several form factors but is not limited to:Edison screw in, tube style, large and small object backlighting, oraccent lighting spots and strips. For the purposes of this disclosure,we consider any form of LED light as a potential source capable oftransmitting information.

Light 102 is a modulated LED light source 101, and is part of thevisible electromagnetic wireless spectrum. LEDs are considered digitaldevices which can be rapidly switched on and off, to send signals abovethe rate which the human eye can see. This allows them to be exploitedto send digital data through the visible light itself. By modulating theLEDs, turning them on and off rapidly, one can send digital informationthat is unperceivable to the human eye, but is perceivable by applicablesensors, including but not limited to image sensors and other types ofphotosensors.

There are many modulation techniques used to send information throughlight 102. One technique, “On Off Keying” (OOK), is a scheme to transmitdigital data by rapidly switching a signal source on and off. OOK is thesimplest form of amplitude-shift keying (ASK) which is a modulationtechnique that represents digital data through either the presence orabsence of a carrier wave. When communicating with visible light, thecarrier wave takes the form of the transmitted light signal. Thereforeat a rudimentary level, when the light signal is turned “on” a digital“one” is perceived, and when the light signal is turned “off” a “zero”is perceived. Furthermore the rate at which the light signal is turnedon and off represents the modulation frequency. Note that regardless ofchanging the modulation frequency, the “carrier wave” remains unchangedas this is an inherent property of the light itself For example thecarrier wave corresponding to a blue light signal is uniquely differentthan the carrier wave corresponding to a red light signal. While thesetwo signals differ only in the wavelength specific to their perceivedcolor, they can be perceived as two discrete signals.

In addition to OOK, another possible technique is defined as “DigitalPulse Recognition” (DPR). This modulation technique exploits the rollingshutter mechanism of a complementary metal-oxide-semiconductor (CMOS)image sensor. Due to their superior energy efficiency, CMOS sensors arepreferred to charged-coupled device (CCD) sensors on mobile devices.When a CMOS image sensor with a rolling shutter takes an image, it doesnot expose the entire image simultaneously. Instead, the rolling shutterpartially exposes different portions of the frame at different points intime. Typically, this causes various unwanted effects: skew, wobble, andpartial exposure. In the presence of an LED light driven by a pulsewidth modulated signal, images received from a CMOS sensor exhibit“residual banding” in the form of visible distortions. The image appearsto have alternating dark/white stripes. The stripes are a direct resultof the rolling shutter mechanism, and their width is proportional to thefrequency of the pulse width modulated (PWM) signal. Higher frequenciescorrespond to narrower stripes, and lower frequencies result in widerstripes. Practical frequency ranges for use with this technique arebetween 60 Hz and 5000 Hz. This technique allows one to exploit therolling shutter mechanism to recover digital data from an opticallyencoded signal.

DPR has the potential for much higher data rates than both OOK andfrequency shift keying (FSK). In FSK and OOK, the camera's frame ratelimits the data rate. The highest possible data rate is half of theframe rate, since each symbol spans over two frames. In DPR modulation,a single frame is sufficient for capturing the transmitted symbol.Furthermore, symbols are not “binary”—there are can be as many as 30different possibilities for a symbol.

In the DPR modulation scheme, image processing is used to measure thestripe width of the recorded image. By successively changing the LEDdriver frequency for each frame, information is essentially transmittedthrough recognition of the band widths. In the current design, 10separate frequencies are used. For a 30 frames per second (FPS) camera,this corresponded to an effective data transfer rate of .about.100 bitsper second (bps).

Both of these techniques are interesting because they can allow thetransmission of information through single color light sources, insteadof having to create lighting sources which contain multiple colorlights. In the world of LED lighting products, white light is majorlyachieved by layering a phosphorous coating on top of blue LEDs. Thecoating creates the visible perception of “white” light, instead ofblue. The alternative to this can be achieved through combining red,green, and blue LED lights; however this approach is expensive and powerinefficient as the lumens per watt properties differ between differentcolored LEDs. Blue LEDs are generally more energy efficient than theirred and green counterparts, which is why they are used in mostcommercial LED lighting products. It is because of this reason that itmakes the most sense to use a data modulation technique that uses asingle wavelength of light, rather than multiple, because this complieswith LED lighting products.

In addition to LED light sources, other types of light sources are alsocapable of transmitting information through modulation. Alternativeincandescent and fluorescent technologies can also be exploited toachieve data transmission, however the circuitry is more complex becausethe turn on and turn off times of incandescent and fluorescent lightsare subject to additional factors.

The modulation frequency of the light source is highly dependent on thereceiving circuitry. While incandescent and fluorescent technologiesgenerally do not “flicker” on and off during the course of normaloperation, LED lighting sources are sometimes designed to flicker abovethe rate which the eye can see in order to increase their longevity, andconsume less power. Most humans cannot see flicker above 60 Hz, but inrare instances can perceive flicker at 100 Hz to 110 Hz. To combat this,lighting manufactures design flicker above 200 Hz into their lightingproducts.

Mobile device 103 can be a smart mobile device and is most commonlyfound in the form of mobile phones, tablets, and portable laptopcomputers. In order for a mobile device 103 to receive information 102from the LED light source 101 it has an embedded or attached sensorwhich is used to receive the incoming light 102 signals. One such sensoris a camera, which has a typical frame refresh rate between fifteen andsixty frames per second (fps). The fps is directly related to the speedat which optical signals can be transmitted and received by the camera.The sensor can capture a number of successive image frames that canlater be analyzed to determine if a light source is providinginformation through light.

Mobile device 103 can include a processor, module, memory, and sensor inorder to capture and analyze light received from light sources. Themobile device can analyze the successive image frames captured by thesensor by using the module. The module can be logic implemented in anycombination of hardware and software. The logic can be stored in memoryand run by processor to modify the successive images and analyze thesuccessive images to determine information encoded in the light of oneor more light sources. The module can be built in to the mobile deviceto provide the capabilities or it can be downloaded and installed. Themodule can be an application that runs on the mobile device whenselected by a user. The module can also be used to receive content andother information related to the position of the mobile device and toprovide this content to other modules or to the mobile device.

The reception of optically transmitted information is particularlyinteresting when used as an indoor positioning system. In a light basedpositioning system, the physical locations of light sources can be usedto approximate the relative position of a mobile device 103 within lineof sight. On the mobile side, in addition to a receiving module, themobile device 103 can use information to determine position of themobile device. The mobile device can access a data source containinginformation about where the lights are physically located to determineposition. This data source can be stored locally, or in the case wherethe mobile device 103 has a network connection, the data source could bestored on an external server 703.

For scenarios where a network connection is not available, beforeentering an indoor space the mobile device 103 could optionally downloada “map pack” containing the information used to locate itself indoors,instead of relying on an external server 703. In order to automate thisprocess, the mobile device 103 would first use an alternative existingtechnique for resolving its position and would use the gained locationinformation to download the appropriate map pack. The techniques forreceiving geo-location information include, for example, GPS, GSM, WiFi,user input, accelerometer, gyroscope, digital compass, barometer,Bluetooth, and cellular tower identification information. Thesetechniques can also be used to fill gaps between when a position of themobile device is determined using the light based technique. Forexample, a mobile device can be placed at times so its camera does notcapture light sources. Between these times these alternative existingtechniques can be used for filling in position and location informationthat can be helpful to the user. The map pack would contain a map 902 ofthe indoor space the user is entering, locations of the lights from somesort of existing or third party lighting plan 1103, and any locationdependent content 903 for the mobile device 103 to consume. Any requestsfor location information would simply access data stored locally on themobile device 103, and would not need to access a remote server via anetwork 601.

In terms of the experience when using a light based positioning system,the indoor location reception and calculation can happen with little tono user input. The process operates as a background service, and readsfrom the receiving module without actually writing them to the displayscreen of the mobile device. This is analogous to the way WiFipositioning operates, signals are read in a background service withoutrequiring user interaction. The results of the received information canbe displayed in a number of ways, depending on the desired application.In the case of an indoor navigation application, the user would see anidentifying marker overlaid on a map of the indoor space they are movingaround in. In the case of content delivery, the user might see a mobilemedia, images, text, videos, or recorded audio, about the objects theyare standing in front of.

In scenarios where the mobile device 103 is in view of several lightsources, it can receive multiple signals at once. FIG. 2 is arepresentation of a mobile device 103 receiving identificationinformation 102 a-102 c from multiple LED light sources 101 a-101 c.Each light source is transmitting its own unique piece of information.In order to identify its position or receive location based content, themobile device 103 can then use the received information to access adatabase 802 containing information about the relative positions of theLED light sources 101 a-101 c and any additional content 903. When threeor more sources of light are in view, relative indoor position can bedetermined in three dimensions. The position accuracy decreases withless than three sources of light, yet remains constant with three ormore sources. With the relative positions of lights 101 a-101 c known,the mobile device 103 can use photogrammetry to calculate its position,relative to the light sources.

Photogrammetry is a technique used to determine the geometric propertiesof objects found in photographic images. In the context of locatingmobile devices using light sources, photogrammetry refers to utilizingthe corresponding positions of LED light sources, and their positions in3-D space, to determine the relative position of a camera equippedmobile device. When three unique sources of light are seen by the cameraon a mobile device, three unique coordinates can be created from thevarious unique combinations of 101 a-101 c and their relative positionsin space can be determined.

For a mobile device 103 equipped with an image sensor we can considerthe following scenario. When multiple LED light sources appear in theimage sensors field of view, the sources appear brighter relative to theother pixels on the image. Thresholds can then be applied to the imageto isolate the light sources. For example, pixel regions above thethreshold are set to the highest possible pixel value, and the pixelregions below the threshold are set to the minimum possible pixel value.This allows for additional image processing to be performed on theisolated light sources. The end result is a binary image containingwhite continuous “blobs” where LED light sources are detected, and darkelsewhere where the sources are not detected.

A blob detection algorithm can then be used to find separate LED lightsources. A minimum of three separate LED blobs are used to resolve the3-D position of a mobile device 103. Each LED blob represents a “regionof interest” for the information reception, and is simultaneouslytransmitting a unique piece of information via the modulated visiblesignal from the light source. For the purposes of reception, each regionof interest is processed independently of other regions of interest andis considered to be uniquely identifiable. A center of mass calculationfor each region can be performed to determine the pixel coordinates ofthe center of each LED light source. This center of mass calculation isperformed for each frame to track the regions of interest as they movearound the image.

Once the regions of interest are established, a detection algorithmcaptures multiple image frames for each region of interest in order toreceive the visible light signal contained in each blob. For each framein a detected region of interest, a threshold algorithm determineswhether the frame contains a “1” (in the case of an aggregate pixelvalue above the threshold), or a “0” (in the case of an aggregate pixelvalue lower than the threshold). The threshold algorithm is used sincethe communication is asynchronous, so the camera receiver period mayoverlap between the transmission of a “1” and a “0” from the LED lightsource.

The result of converting successive image frames in a region of interestto binary values is in essence a down sampled digital version of thesignal received from the LED light source. Next demodulation of thedown-sampled digital signal is used to recover the transmitted bits.This down sampling is used due to the fact that the signal modulationfrequency should be above the rate at which the human eye can see, andthe image sensor frame rate is typically limited to 15-30 fps.

At a lower level, the mobile device 103 processes data on aframe-by-frame basis. Each frame is split into separate regions ofinterest, based on the detection of light sources. For each region ofinterest, a thresholding algorithm is used to determine whether a givenregion is “on” or “off”. This is done by taking the average pixel valuefor the region and comparing it to the threshold value. If the region is“on”, the demodulator assumes the light source has just transmitted a“1”. If the region is “off”, the demodulator assumes the light sourcehas sent a “0”. The result of this is the equivalent of a 1-bitanalog-to-digital conversion (ADC), at a sampling rate which is equal tothe frame rate of the camera.

After a frame is processed, the results of the ADC conversation arestored in a circular buffer. A sliding correlator is applied to thebuffer to look for the presence of start bits 402. If start bits 402 arefound, the demodulation algorithm assumes it is reading a valid packetof information 401 and proceeds to capture the rest of the transmission.Two samples are used for each bit, so the algorithm creates a linearbuffer that is twice the size of the remaining packet. Each subsequentADC is written sequentially to the linear buffer. When the linear bufferis filled, the demodulation algorithm performs a fast fourier transform(FFT) on the buffer to recover the transmitted signal.

FIG. 3 describes internal components commonly found in LED light source101 with the addition components to allow for the transmission ofoptical signals. The LED light source 101 contains an alternatingcurrent (AC) electrical connection 301 where it connects to an externalpower source, an alternating current to direct current (AC/DC) converter302 which converts the AC signal from the power source into anappropriate DC signal, a modulator 304 which interrupts power to theLEDs in order to turn them on and off, a microcontroller 305 whichcontrols the rate at which the LEDs are modulated, and a LED drivercircuit 303 which provides the appropriate amount of voltage and currentto the LEDs.

Electrical connection 301 is an electrical source that is used to supplypower to the LED light source 101. This most commonly comes in the formof a 120 Volt 60 Hz signal in the United States, and 230 Volt 50 Hz inEurope. While depicted in FIG. 3 as a three pronged outlet, it can alsotake the form of a two terminal Edison socket which the bulb is screwedinto, or a bundle of wires containing a live, neutral, and or ground.When considering other forms of lighting such as backlighting and accentlighting, the electrical connection can also come in the form of a DCsource instead of an AC source.

Most LED light sources contain an AC/DC converter 302 which converts thealternating current from the power source 301, to a direct currentsource used internally by the components found inside the bulb or lightsource. The converter takes the alternating current source commonlyfound in existing lighting wiring, and converts it to a direct currentsource. LED light sources generally use direct current, therefore anAC/DC converter is found in most lighting products regardless of formfactor.

LED driver 303 provides the correct amount of current and voltage to theLEDs contained inside the lighting source. This component is commonlyavailable, and can have either a constant current or constant voltageoutput. The LEDs found inside most lighting sources are currentcontrolled devices, which require a specific amount of current in orderto operate as designed. This is important for commercial lightingproducts because LEDs change color and luminosity in regards todifferent currents. In order to compensate for this, the LED drivercircuitry is designed to emit a constant amount of current while varyingthe voltage to appropriately compensate for the voltage drops acrosseach LED. Alternatively, there are some high voltage LEDs which requirea constant voltage to maintain their color and luminosity. For thesecases the LED driver circuitry provides a constant voltage while varyingthe current.

Modulator 304 serves the function of modulating the LED light source 101on and off to optically send light 102 signals. The circuits comprisingthe modulator can simply consist of solid state transistors controlledby a digital input. In essence the modulator 304 turns the LEDs on andoff by allowing or preventing current flow. When current flows throughthe modulator with the switches closed the LEDs turn on, and when theswitches are open in the modulator no current can flow and the LEDs turnoff. When the modulator is controlled by an additional logic component,it has the ability to send repeating patterns of on/off signals in orderto transmit digital data through the visible light 102. The modulatorinterfaces directly in between the AC/DC converter 302 and the LEDdriver 303, and is controlled by a microcontroller 305.

The microcontroller 305 provides the digital input signal to themodulator unit 304. This function can also be achieved using a fieldprogrammable gate array (FPGA), but typically consumes more power withadded complexity. The microcontroller's 305 task is to send apre-determined sequence of signals to the modulator 304 which theninterfaces with the LED driver 303 to modulate the outgoing visiblelight from the LED source 101. The microcontroller contains anonvolatile memory storage area, which stores the identification code ofthe light signal. Examples of possible nonvolatile memory sourcesinclude programmable read only memory (PROM), electrically erasableprogrammable read only memory (EEPROM), or Flash.

In regards to the microcontroller pins, the microcontroller 305 containsa digital output pin, which is used to modulate the light output. Togenerate the output signal waveforms, timer modules within themicrocontroller 305 are used. Typical logic levels for the digitaloutput are 3.3V and 5V. This digital output feeds into the modulator 304which interrupts the driver circuit 303 for the LED light source 101.Alternatively, if the LED light source requires lower power, such asbacklighting or individual LED diodes, the output of the microcontroller305 could also be used to drive the light sources directly.

The sequence of signals sent from the microcontroller 305 determines theinformation which is transmitted from the LED light source 101. FIG. 4describes the information 401 format of the optically transmittedinformation from the light 102. At the highest level, each packet ofinformation contains some sort of starting bit sequence, which indicatesthe beginning of a packet, followed by data 403, and some sort of errordetection identifier. The size and position of each portion ofinformation is dependent on the application and is also constrained byrequirements of the receiving device.

Each packet of information 401 transmitted from the LED light source 101contains a sequence of starting bits 402, followed by data 403, and thenterminated with an error detection code 404. Since the LED light sources101 are continually broadcasting information 401, erroneous packets aresimply discarded while the receiver listens for the starting bits 402,indicating the beginning of the next packet. In cases where multiplesources of light are observed by a mobile device 103, multiple pieces ofinformation 401 are received simultaneously.

Information 401 describes the encoded information that is transmitted bythe LED light source 101. The information 401 is contained in a packetstructure with multiple bits which correspond to numeric integer values.The data 403 portion of the information packet can include unique IDcodes 701. Currently the data 403 size is set to 10 bits, but can be ofvarying length. Each bit represents a binary “1” or “0”, with 10 bits ofdata 103 corresponding to 1024 possible values. This corresponds to 1024unique possibilities of ID codes 701 before there is a duplicate. The IDcode can include location information in the ID code that provides ageneral indication of geographical location of the light. Thisgeographical location information can be used to more quickly locatelight source information that is used in determining indoor positioningon the mobile device. For example, the geographical information canpoint to a database to begin searching to find relevant information forpositioning. The geographical information can include existing locationidentifiers such as area code, zip code, census tract, or any othercustomized information.

The ID code 701 is static and is assigned during the calibration phaseof the LED light source 101 during the manufacturing process. One methodto assign the ID code 701 is to place instructions to generate a randomcode in the nonvolatile memory. Once the LED light source 101 is poweredon the microcontroller reads the ID code 701 from the nonvolatile memorystorage area, and then uses this code for broadcasting each and everytime it is subsequently powered on. Since the ID code 701 is static,once it is assigned it will be forever associated locally to thespecific LED light source 101 which contains the microcontroller 305.

FIG. 5 describes the components found in mobile devices 103 that arecapable of receiving optical information. At the highest level themobile device contains an image sensor 501 to capture opticallytransmitted information, a central processing unit 502 to decipher andmanage received information, and a network adapter 503 to send andreceive information.

Photosensors are devices which receive incoming electromagnetic signals,such as light 102, and convert them to electrical signals. In a similarfashion, image sensors are arrays of photosensors which convert opticalimages into electronic signals. The ability to receive signals frommultiple sources is an important benefit when using image sensors forreceiving multiple optical signals.

Image sensor 501 is a typical sensor which is found in most smartdevices. The image sensor converts the incoming optical signal into anelectronic signal. Many devices contain complementarymetal-oxide-semiconductor (CMOS) image sensors, however some still usecharge-coupled devices (CCD). CMOS image sensors are the more popularchoice for mobile devices due to lower manufacturing costs and lowerpower consumption. There are several tradeoffs to consider when choosingan image sensor to perform photogrammetry on multiple LED light sources101. One tradeoff between the camera resolution and the accuracy of thephotogrammetric process when triangulating between multiple lightsources—increasing the number of pixels will increase the accuracy.There is also another tradeoff between the data rate of the transmissionand the sampling rate (in frames per second) of the camera. The datarate (in bits/second) is half the frame rate of the camera (e.g., a 30fps camera will receive 15 bps). And finally when determining the lengthof the information 401 packet, the larger the size the longer thereception period—as more bits generally requires longer sampling periodsto capture the full message.

CPU 502 is a generic CPU block found in most smart devices. The CPU 502is in charge of processing received information and sending relevantinformation to the network adapter 503. Additionally the CPU has theability to read and write information to embedded storage 504 within themobile device 103. The CPU 502 can use any standard computerarchitecture. Common architectures for microcontroller 503 devicesinclude ARM and x86.

The network adapter 503 is the networking interface that allows themobile device 103 to connect to cellular and WiFi networks. The networkconnection is used in order for the mobile device 103 to access a datasource containing light ID codes 701 with their corresponding locationdata 702. This can be accomplished without a data connection by storinglocation data 702 locally to the mobile device's 103 internal storage504, but the presence of a network adapter 503 allows for greaterflexibility and decreases the resources needed. Furthermore, the networkadapter 503 is also used to deliver location dependent content to themobile device when it is connected to a larger network 601.

FIG. 6 is a representation of multiple LED sources sending light 102 a-dcontaining identification information 102 to multiple mobile devices 103a-103 b. In this instance the light sources are acting as non-networkedbroadcast beacons; there are no networking modules or physical datawires connecting them. This property is desirable when looking towards acommercial installation of numerous LED light sources 103 a-103 b, asadditional wiring and networking will not be required. However, in orderto receive relevant information the mobile devices have the ability tosend and receive additional information from a local source or a network601. Once the mobile device 103 receives identification information 401from the light sources, it then asks a local or remote source foradditional information.

Enclosed area 602 is a spatial representation of an enclosed roomcontaining four LED sources 101 a-101 d and two mobile devices 103 a-103b, meaning that they can operate next to each other withoutinterference. As a rule of thumb if the received image feed from themobile device sees one or more distinct bright sources of light, it hasthe ability to differentiate and receive the unique information withoutinterference. Because the light capture is based on line of sightinterference is mitigated. In this line of sight environment,interference can arise when light capture mechanism of the mobile deviceis blocked from the line of sight view of the light source.

Network 601 represents a data network which can be accessed by mobiledevices 103 a-103 b via their embedded network adapters 503. Thenetworked can consist of a wired or wireless local area network (LAN),with a method to access a larger wide area network (WAN), or a cellulardata network (Edge, 3G, 4G, LTS, etc). The network connection providesthe ability for the mobile devices 103 a-103 b to send and receiveinformation from additional sources, whether locally or remotely.

FIG. 7 describes how the mobile device 103 receives location data 702.In essence, the mobile device 103 sends decoded ID codes 701 through anetwork 601 to a server 703, which sends back location information 702.The decoded ID codes 701 are found in the information 401, which iscontained in the optically transmitted signal. After receiving thissignal containing a unique ID code 701 the mobile device 103 sends arequest for location data 702 to the server 703, which sends back theappropriate responses. Additionally the request could include othersensor data such as but not limited to GPS coordinates andaccelerometer/gyroscope data, for choosing between different types oflocation data 702 and any additional information.

Location data 702 is the indoor location information which matches thereceived information 401. The location data 702 corresponds to indoorcoordinates which match the ID code 701, similar to how outdoor GPS tagsknown locations of interest with corresponding information. The locationdata 702 could also contain generic data associated with the lightidentification information 401. This could include multimedia content,examples of which include recorded audio, videos, and images. Thelocation data 702 can also vary depending on other criteria such astemporal criteria, historical criteria, or user-specified criteria, forexample.

The temporal criteria can include the time of day. The historicalcriteria can include user location history (e.g., locations visitedfrequently), Internet browsing history, retail purchases, or any otherrecorded information about a mobile device user. The user-specifiedcriteria can include policies or rules setup by a user to specify thetype of content they wish to receive or actions the mobile device shouldtake based on location information. For example, the user-specifiedcriteria can include how the mobile device behaves when the user isclose to an item that is on sale. The user may specify that a coupon ispresented to the user, or information about the item is presented on themobile device. The information about the item can include videos,pictures, text, audio, and/or a combination of these that describe orrelate to the item. The item can be something that is for sale, adisplay, a museum piece, or any other physical object.

Server 703 handles incoming ID codes 701, and appropriately returnsindoor location data 702 to the mobile devices 103. The handling canincluding receiving incoming ID codes, searching databases to determinematches, calculating position coordinates based on the ID codes, andcommunicating indoor location data 702. Since the LED light sources 101are acting as “dumb” one way communication beacons, it is up to otherdevices to determine how to use the ID codes to calculate positioninformation and deliver related content. In some embodiments, the server703 can include the information used to link ID codes 701 to physicalspaces and to deliver location specific content. The server is designedto handle the incoming requests in a scaleable manner, and returnresults to the mobile devices in real-time.

The server can include one or more interfaces to the network that areconfigured to send and receive messages and information in a number ofprotocols such as Internet Protocol (IP) and Transmission ControlProtocol (TCP). The protocols can be arranged in a stack that is used tocommunicate over network 601 to mobile device 103. The server can alsoinclude memory that is configured to store databases and informationused in providing position coordinates and related location basedcontent. The server can include one or more modules that can beimplemented in software or other logic. These modules can performcalculations and perform operations to implement functionality on theserver. The server can use one or more processors to run the modules toperform logical operations.

To describe the server interaction in more detail, FIG. 8 delves intolocation specific areas 801 containing databases 802 and web services803. The areas 801 represent a subset databases 802 and web services 803for individual locations where there are installed LED light sources101. The server 703 directly communicates with these installations,which have their own separate sets of information. At a high level,databases 802 represent the stored information pertaining to a specificarea 801, while the web services 803 represent services which allowusers, customers, administrators, and developers access to the ID codes,indoor locations, and other information.

In order to send relevant information, after each received ID code 701,the server 703 requests information pertaining to the specific area 801.Contained in each area 801, are databases which contain informationcorresponding to the specific ID code 701. This information can takemultiple formats, and has the ability to be content specific to avariety of static and dynamic parameters.

In order to optimize response time, the server 703 can constrain itssearch space by using existing positioning technologies available to themobile device 103 or from information in the light source ID codedepending on the embodiment. In essence the server looks for the lightsIDs 901 within a specific radius of the current approximate position ofthe mobile device 103, and ignores those that are geographicallyirrelevant. This practice is known as “geo-fencing”, and dramaticallyreduces the request/response time of the server 703. As finalverification, if the database 802 contains one or more of the same IDswithin the current search space that match the ID codes received by themobile device 103 within a specific time frame, then a successfultransaction can be assumed.

As seen in FIG. 9, each database 802 contains numerous sub categorieswhich store specific types of information. The categories are labeledlight IDs 901, maps 902, content 903, and analytics 904.

Light IDs 901 is a category which contains records of the individuallight ID codes 701 which are contained in an area 801. In a typicallight positioning enabled installation, there will be tens to hundredsof unique LED light sources 101 broadcasting unique ID codes 701. Thepurpose of the light IDs 901 database is to maintain and keep a recordof where the ID codes 701 are physically located in the area 801. Theserecords can come in form of but are not limited to GPS (latitude,longitude, and altitude) coordinates which are directly mapped into anindoor space. For instance, most indoor facilities have informationabout the number of installed lights, how far apart they are spaced, andhow high the ceilings are. You can then match this information withbuilding floor plans or satellite imagery to create a digital mapping ofwhere each light is positioned.

To expand upon the Light IDs 901 category, additional information cancome in the form of location specific maps 902. These maps can take onmany physical and digital forms, either directly from the management ofthe location, or a third party vendor or outside source. In addition tomapping information, location specific content 903 and analytics 904 arealso contained inside the databases 802.

FIG. 10 is a description of the ID log 1001 information contained in theLight IDs database 901. It is a representation of the file structurethat contains individual records corresponding to individual light IDcodes 701 found within different areas 801. In a typical area 801 thereis a possibility of having duplicate ID codes 701 since there are afinite number of available codes. The size of the ID code 701 isproportional to the length of the data 403 field contained in theoptical information 401.

To deal with duplicate ID Codes 701, additional distinguishinginformation can be contained inside of the individual log records; ID 11001, ID 2 1003, and ID 3 1004. This information can contain additionalrecords about neighboring ID Codes 701 which are in physical proximityof the LED light source 101, or additional sensor data including but notlimited to: accelerometer or gyroscope data, WiFi triangulation orfingerprinting data, GSM signature data, infrared or Bluetooth data, andultrasonic audio data. Each additional sensor is an input into aBayesian model that maintains an estimation of the current smartphoneposition and the uncertainty associated with the current estimation.Bayesian inference is a statistical method used to calculate degrees ofprobability due to changes in sensory input. In general, greater numbersof sensory inputs correlate with lower uncertainty.

In order to calibrate the light based positioning system, a userequipped with a specific mobile application will need to walk around thespecific area 801. The mobile application contains map 902 informationof the indoor space, with the positions of the LED light sources 101overlaid on the map. As the user walks around, they will receive IDcodes 701 from the lights. When the user receives an ID code 701, theywill use the map on the mobile app to select which LED light source 101they are under. After the user confirms the selection of the light, themobile application sends a request to the server 703 to update the lightlocation contained in the lighting plan 1103 with the ID code 701.Additional user provided 1104 metadata including but not limited tocurrent WiFi access points, RSSI, and cellular tower information canalso be included with the server request to update additional databases.

In addition to manual calibration, calibration of LED light source 101locations can also be achieved via crowd-sourcing. In this algorithm, asmobile application users move around an indoor space receiving ID codes701, they will send requests to the server 703 containing the light IDcode 701 received, the current approximate position (based on otherpositioning techniques such as WiFi, GPS, GSM, and inertial sensors) andthe error of the current approximation. Given enough users, machinelearning algorithms on the server 703 can be used to infer the relativeposition of each LED light source 101. The accuracy of this calibrationmethod depends heavily on the number of mobile application users.

FIG. 11 is a description of the maps database 902 and map log 1101information containing floor plans 1102, lighting plans 1103, userprovided information 1104, and aggregated data 1105. Map log 1101 is arepresentation of the file structure that contains the information foundinside the maps database 902. Information can come in the form of but isnot limited to computer aided drafting files, user provided computerizedor hand drawn images, or portable document formats. The informationresiding in the maps 902 database can both be used to calibrate systemsof multiple LED light sources 101, and to augment the location data 702that is sent to mobile devices 103.

Floor plan 1102 contains information about the floor plan for specificareas 801. The contained information can be in the form of computeraided drafting files, scanned images, and legacy documents pertaining toold floor plans. The information is used to build a model correspondingto the most recent building structure and layout. These models aresubject to changes and updates through methods including but not limitedto crowd sourcing models where users update inaccuracies, third partymapping software updates, and additional input from private vendors.

Lighting plan 1103 contains information about the physical lightingfixture layout, electrical wiring, and any additional informationregarding the lighting systems in the area 801. This information canalso come in a variety of physical and digital forms such as the floorplan 1102 information. The lighting plan 1103 information is used in thecalibration process of assigning light ID codes 701 to physicalcoordinates within an area 801. In essence, a location with multiple LEDlight sources 101 acts a large mesh network except in this case eachnode (light ID 701) is a non-networked beacon of information that doesnot know about its surrounding neighbors. To help make sense of multiplelight ID codes 701, the lighting plan 1103 information is used as one ofmany ways to tell the backend server 703 where LED light sources 101 arelocated.

User provided information 1104 contains additional data that the usermanually uploads in regards to building changes, updates, or newinformation that is acquired. The user in this case is most likely thefacility manager or staff member, but could also originate from an enduser of the system who contributes via a crowd sourcing or machinelearning mechanism. For instance, if an end user was using a light basedpositioning system in a museum and was unable to find a particularexhibit or noticed inaccurate information in regards to location orclassification of the exhibit, they could red flag the occurrence usingtheir mobile device 103. When coupled with data from additional users,sometimes known as a crowd sourcing method, this user providedinformation 1104 can be used to update and repair inaccuracies in themaps 902 database.

Aggregated data 1105 contains information that is gathered by the systemthat can be used to augment the current information that is known aboutthe mapping environment. This can occur during normal operation of thesystem where multiple mobile devices 103 are constantly sending andreceiving location data 702 from the server 703. Over time theaggregation of this data can be used to better approximate how light IDcodes 701 correspond to the physical locations of the LED light sources101. For instance if multiple mobile devices 103 consistently receive anew ID code 701, in a repeatable pattern with respect to additionalknown ID codes 701 and other sources of location information, then thisinformation can be recorded and stored in the aggregated data 1105database. This information can additionally be used to recalibrate andin essence “self-heal” a light based positioning system.

FIG. 12 is a description of the content database 903 and content log1201 information containing static content 1202, user based content1203, and dynamic content 1204. Content log 1201 is a representation ofthe file structure that contains the information found inside thecontent database 903. Static content 1202 refers to unchanginginformation that is associated with the specific area 801. This canrefer to the previous example where a facility manger loads specificcontent into the content 903 database before a user enters the specificarea 801. This type of information can take the form of but is notlimited to audio recordings, streaming or stored video files, images, orlinks to local or remote websites.

User based content 1203 refers to content that is dependent on usercriteria. The content can depend on but is not limited to user age, sex,preference, habits, etc. For instance, a male user might receivedifferent advertisements and promotions than a female would.Additionally age and past purchase habits could also be used todistinguish which is the correct piece of content to be presented to theuser.

Dynamic content 1204 refers to content which changes with varyingfrequency. The content can change dependent on a temporal bases, daily,weekly, monthly, etc. For instance, seasonal marketing and content couldbe automatically presented to the user dependent on the month of theyear, or content in the form of morning, evening, or nightly specialscould be presented numerous times throughout the individual day.

In addition to content, point of purchase 1205 information can bedelivered as well. This could be implemented by using the received IDcode 701 to a secure connection which establishes and completes atransaction linked to a user's selected payment method. Additionally, astandalone point of purchase feature could be implemented by simplylinking ID codes 701 directly to merchandise or services.

FIG. 13 is a description of the analytics database 904 and analytics log1301 information containing frequency 1302, dwell time 1303, path taken1304, and miscellaneous 1305. Analytics log 1101 is the file structurethat contains the information found inside the analytics database 904.Frequency 1302 refers to the number of times each end user visits aparticular location inside of a specific area 801. Separate records aremaintained for individual users, and the frequency is aggregated andsorted in the frequency files database 904.

Dwell time 1303 refers to the time spent in each particular locationinside of a specific area 801. Separate records are maintained forindividual users, and the dwell times are aggregated and sorted in thedwell time file. Path taken 1304 refers to the physical path taken by auser in each specific area 801.

As an example which combines many of the above descriptions, consider anexample involving a store owner that installed a light based indoorpositioning system, and a customer walking around the store using amobile device 103 capable of receiving optically transmittedinformation. The customer drives to the parking lot of the store, parks,and walks in. Using the background sensors and location servicesavailable to her phone as modeled in FIG. 16, the customer's mobiledevice 103 already knows that she has approached, and most likelyentered a store outfitted with a light based positioning system. Oncethis information is known, the application running on the customer'smobile device 103 initiates several background services and begins tostart looking for optical signals as depicted in FIG. 15.

Prior to the customer entering the store, the store owner has alreadycalibrated and preloaded the database 802 with the unique LED lightsources 101, map 902 information pertaining to the store floor plan 1102and user provided 1104 product locations, and content 903 in the form ofmultimedia and local deals in the form of promotions that can only beactivated by visiting that particular section of the store.

In the meantime, the customer is walking around the store looking tofind particular items on her shopping list which she has alreadydigitally loaded onto her mobile device 103. Next the customer isprompted by her mobile device 103 that one of the items on her list hasmoved locations, and an image of the store layout is displayed with aflashing icon indicating where her desired product has moved. The mobilephone can guide her to the new product. Then as soon as she gets closeto the product, an informational video is prompted on her screendetailing the most popular recipe and how it is prepared. And finally inaddition to finding her desired product, the customer receives adiscount promotion for taking the time to seek out the new location ofthe product.

In addition to the services offered by this system to the customer, thestore owner now gains value from learning about the shopping experiencesof the customer. This comes in the form of aggregated data that iscaptured and stored in the analytics 904 section of his stores database802. This example is one of many applications that can be enabled withan accurate indoor light based positioning system.

FIG. 14 is a process describing the act of receiving location andcontent information through visible light. User places mobile deviceunder light 1401 corresponds to the act of physically placing a cameraequipped mobile device 103 underneath an enabled LED light source 101.The user stands approximately underneath or adjacent the LED lightsource 101, and the mobile device has the LED light source 101 in viewof the camera lens.

The next block, sample image sensor 1402, refers to the act of turningon and reading data from the embedded image sensor in the mobile device103. Receive ID? 1403 is a decision block which either moves forward ifa location ID is received, or returns to sample the image sensor 1402.Get location data corresponding to ID from server 1404 occurs once alocation ID has been received. The mobile device queries the serverasking for location data 702 relevant to the ID code. This describes theprocess of a user obtaining an ID code 701 from a non-networked LEDlight source 101, and using the unique identifier to look up additionalinformation from either the server 703 or a locally stored source.

Finally, content? 1405 is another decision block which determines ifthere is location based content associated with the received ID code. Ifcontent is available the process continues on to the last block 1406where the content is queried, if not the process ends. As describedabove, the get content data corresponding to ID from server 1405 refersto the act of retrieving content data associated with a known locationfrom either a server 703 or local source.

FIG. 15 is a process describing the act of turning on the applicationbackground services and determining when to sample the image sensor.Initiate background service 1 1501 is the primary background runningservice on the mobile device. This service is tasked with initiating afunction that can communicate wirelessly to determine if the mobiledevice is close to an enabled area. The wireless communication includesradio frequency communication techniques such as global position system(GPS), cellular communication (e.g., LTE, CDMA, UMTS, GSM), or WiFicommunications. Determine position 1502 is the function thatperiodically samples the wireless communication signal and based ondistance parameters decides whether or not the mobile device is closeenough to an area to move forward to the next service.

Light positioning enabled? 1503 is a decision block that moves forwardif the mobile device is close to an enabled location, or repeats theprevious function if not. Initiate background service 2 1504 isactivated once the mobile device enters an enabled area. The service istasked with initiating the functions that receive location informationvia the modulated light.

Sample ambient light sensor 1505 is the first function of the previousservice which samples the ambient light sensor data as soon as thesensor detects a change. The function of this task is to determine ifthe sensor has gone from dark to light, if the user takes the device outof a pocket or enclosure, or from light to dark, the user has placed thedevice inside of a pocket or enclosure. As an alternative to samplingthe light sensor, the algorithm could also look for a change in theaccelerometer reading. This would correspond to the user taking thephone out of their pocket. Detect change? 1506 is the decision blockthat moves forward if the ambient light sensor has gone from dark tolight meaning that the mobile device is potentially in view ofsurrounding modulated light.

FIG. 16 is a process describing the act of determining a mobile devicesposition using a variety of information sources. Sample GPS/GSM 1601refers to the act of determining if the mobile device is close to anenabled area. Enabled area? 1602 is a decision block which moves forwardif the mobile device is close to a enabled area, or returns to theprevious block if not.

Sample alternative sources 1603 refers to the act leveraging existingalternative positioning technologies such as WiFi, Bluetooth,ultrasound, inertial navigation, or employing an existing service usingone or more of any available services. Record internal sensor data 1606is a task which records the current accelerometer data for a period oftime before returning to the Sample image sensor 1402 block. This taskis performed so that location information is constantly being collectedeven when modulated light is not being detected. This allows the mobiledevice and/or server to keep track of the mobile device's position.

FIG. 17 is a system diagram describing how a client device 1704interacts with a light based positioning system 1709. Network 601 is ageneric local or remote network used to connect mobile devices 103contained in locations A 1701, B 1702, and C 1703 with the light basedpositioning service 1709.

Each location contains multiple LED light sources 101, each of whichbroadcast unique identification codes 701. In order to interact with thesystem from an operators perspective, a mobile device can use thedatabase service application 1710 which contains multiple privilegelevels for different levels of access. The client privilege leveldetermines read/write permissions to each of these databases. Theselevels include users 1705 which refer to general front end system users,administrators 1706 which are usually IT or operations management levelwithin an installation, developers 1707 which have access to theapplication programming interfaces of the system for use in customapplication development, and root 1708 level which contains mastercontrol over the users and access to everything contained in the systemand databases.

Mobile devices in each location 1701, 1702, and 1703 receiveidentification codes 701 from lights in their respective locations. Theythen send the received identification codes 701 through the network 601which connects to database service application 1710, through userapplication 1705, and has read access to maps 902 and content, and writeaccess to analytics 904. A generic client, 1704, connects to databaseservice application 1710 through network connection 601.

The client uses a password authorized login screen to access therespective permission status. Clients with administrator permissionshave read/write access to light IDs 901, read access to maps 902,read/write access to content 903, and read access to analytics 904.Clients with developer permissions 1707 have read access to light IDs,read access to maps 902, read/write access to content 903, and readaccess to analytics 904. A client with root permissions 1708 hasread/write access to databases 901-904.

As an overview, FIG. 17 describes the top down approach to our currentimplementation of a light based positioning system. At the highestlevel, known locations of installed non-network standalone LED lightsources 101 are used to accurately identify the relative position ofmobile devices 103. In order to obtain identification information fromthe lights, the background processes running on the mobile device 103have been described in FIGS. 14, 15, 16. Once the mobile device hasacquired a unique or semi-unique ID code 701 from the light orcombination of lights, it uses this information to query a database 802for additional information. This information can come in many forms, andis used to create a more personalized experience for the user. Asinitially mentioned, this local experience is used for location awaremobile computing, and augmented reality applications. In addition tolocal personalized information, location based analytics applicationscan be enabled from the aggregated data and traffic running through theserver 703.

The use of light based positioning capabilities provide a number ofbenefits. For example, the positioning information obtained by usinglight sources is highly precise compared to alternative techniques forpositioning information. The accuracy of a light based positioningsystem can be down to a few centimeters in three dimensions in someembodiments. This positioning ability enables a number of usefulservices to be provided. In certain embodiments, additional mobiledevice information can be used in combination with the positioninginformation. For example, accelerometer position information can be usedin conjunction with light source based position to offer augmentedreality or location aware content that relevant to the device'sposition. The relevant content can be displayed to augment what is beingdisplayed on the mobile device or the display can provide relevantinformation. Applications on the mobile device can also be launched whenthe mobile device enters certain areas or based on a combination ofcriteria and position information. The applications can be used toprovide additional information to the user of the mobile device.

The light based positioning systems and methods can also be used tomanage and run a business. For example, the light based positioning canhelp keep track of inventory and to make changes to related databases ofinformation. In a warehouse, for example, the light positioning systemcan direct a person to where a particular item is located by givingdirections and visual aids. The light positioning can even providepositioning information to direct the person to the correct shelf theitem is currently residing on. If the person removes the item, themobile device can update the inventory databases to reflect the change.The same function can be implemented in a store environment asmerchandise locations are changed or updated. This information can thenbe used in providing content to a user. For example, if a shopper wantsmore information about an item, the updated location can be used tolocate the item or direct the shopper to an online website to purchasean out of stock item. In some embodiments, the mobile device using thelight based positioning technique in conjunction with a wirelessconnection and other information can be used to provide non-intrusivedata collection on customers. The data collection of how customers movethrough a store and where they spend time can be used to improve layoutof stores and displays of merchandise.

The light based positioning system are also easy and low cost to setupcompared to other location positioning systems. Since each light sourceoperates autonomously, a building owner only needs to swap out existinglight sources for those that provide light based information to a cameraenabled device. The light sources are non-networked independent beaconsthat broadcast identification codes configured when manufactured. Thisallows the light sources to be manufactured at a lower cost compared tonetworked light sources. Further, the non-networked independent beaconlight sources in the light based positioning system can be easier forbuilding owners to install.

The light based positioning system can also include optimizations insome embodiments. For example, location information obtained from eitherthe identification code or from alternative techniques can be used toreduce latency in determining position information. This optimizationcan work through geo-fencing by constraining the search area to findinformation regarding the captured light sources more quickly. This canreduce the overall delay experienced by a user from the time the mobiledevice captures the light sources to when relevant position informationis provide to the mobile device and/or relevant content is provided tothe mobile device.

The techniques and methods disclosed for use in light based positioningsystems can be used with a variety of camera equipped mobile orstationary devices, such as: mobile phones, tablet computers, netbooks,laptops, desktops, or custom designed hardware. Further, the scope ofthe present invention is not limited to the above described embodiments,but rather is defined by the appended claims. These claims representmodifications and improvements to what has been described.

What is claimed is:
 1. A mobile device, comprising: an image sensor; awireless interface configured to communicate through a network over awireless medium; a processor coupled to the image sensor and thewireless interface; a memory; and software in the memory to be run bythe processor, wherein running of the software by the processorconfigures the mobile device to perform functions, including functionsto: operate the image sensor to capture an image of at least two visiblelight sources in an indoor location including a modulated visible lightsignal transmitted by one of the at least two visible light sources ofan indoor location; using the captured image, demodulate the modulatedvisible light signal transmitted by the one visible light source; basedon the demodulated visible light signals, determine a light sourceidentifier corresponding to the one visible light source; retrieveposition information corresponding to the determined light sourceidentifier, the retrieved position information including positioncoordinates in three dimensions of the one light source corresponding tothe light source identifier and of other light sources; and calculate,by applying photogrammetric image processing techniques to the image ofthe at least two light sources and the position coordinates of the atleast two light sources, coordinates for a position of the mobile devicerelative in the indoor location.
 2. The mobile device of claim 1,wherein the mobile device when retrieving position information isfurther configured by the software running on the processor, to:transmit, via the wireless interface, a request to a server requestingposition information corresponding to the determined light sourceidentifier; and receive, via the wireless interface, positioninformation corresponding to the determined light source identifier. 3.The mobile device of claim 1, further comprises: indoor locationinformation stored in the memory, the indoor location informationincluding a map of the indoor location, light source identifiers, andposition information of light sources within the indoor location,wherein: the mobile device when retrieving position information isfurther configured by the software running on the processor, to: accessthe indoor location information stored in the memory; and retrieveposition information corresponding to the determined light sourceidentifier.
 4. The mobile device of claim 1, wherein: the mobile device,when demodulating the visible light signals is further configured by thesoftware running on the processor, to: apply a threshold to the capturedimage to isolate regions of brighter pixels in the image, wherein the atleast two light sources appear in brighter regions of pixels than otherpixels in the captured image; in response to isolating the brighterregions of pixels in the captured image, independently process each ofthe isolated brighter regions as corresponding to each of the at leasttwo light sources to determine the visible light signal transmitted bythe respective light sources.
 5. The mobile device of claim 1, furthercomprising: a display device; a map of the indoor location stored in thememory; and wherein running of the software by the processor configuresthe mobile device to implement functions, including functions to:retrieve the map of the indoor location in which the mobile device islocated; and present, on the display device, the map with an identifyingmarker corresponding to the calculated coordinates of the position ofthe mobile device overlaid on the map.
 6. The mobile device of claim 1,wherein the image sensor is a rolling shutter camera.
 7. The mobiledevice of claim 1, wherein the image sensor is a charge-coupled device.8. A method, comprising: operating an image sensor of the mobile deviceto capture an image of at least two visible light signals in an outdoorlocation including a modulated visible light signal transmitted by theat least two visible light source of an indoor location; demodulatingthe modulated visible light signal transmitted by one of the at leasttwo visible light source using the captured image; determining a lightsource identifier corresponding to the one of at least two visible lightsource based on the demodulated visible light signals; retrievingposition information corresponding to the determined light sourceidentifier, the retrieved position information including positioncoordinates in three dimensions of the one light source corresponding tothe light source identifier and of other light sources; and calculating,by applying photogrammetric image processing techniques to the image ofthe at least two light sources and the position coordinates of the threelight sources, coordinates for a position of the mobile device relativein the indoor location.
 9. The method of claim 8, wherein retrievingposition information further comprises: transmitting, via a wirelessinterface configured to communicate through a network over a wirelessmedium, a request to a server, the request requesting positioninformation corresponding to each of the determined light sourceidentifier; and receiving, via the wireless interface, positioninformation corresponding to the determined light source identifiers.10. The method of claim 8, further comprises: accessing indoor locationinformation stored in a memory of the mobile device, wherein the indoorlocation information includes a map of the indoor location, light sourceidentifiers, and position information of light sources within the indoorlocation; and retrieving position information from the accessed indoorlocation information corresponding to the determined light sourceidentifier.
 11. The method of claim 8, wherein demodulating the visiblelight signals further comprises: applying a threshold to the capturedimage to isolate regions of brighter pixels in the image, wherein the atleast two light sources appear in brighter regions of pixels than otherpixels in the captured image; in response to isolating the brighterregions of pixels in the captured image, independently processing eachof the isolated brighter regions as corresponding to each of the atleast two light sources to determine the visible light signaltransmitted by the respective light sources.
 12. The method of claim 8,further comprising: retrieving, from a memory of the mobile device, amap of the indoor location in which the mobile device is located; andpresenting, on a display device of the mobile device, the map with anidentifying marker corresponding to the calculated coordinates of theposition of the mobile device overlaid on the map.
 13. The method ofclaim 8, wherein the image sensor is a rolling shutter camera.
 14. Anon-transitory tangible computer readable medium embodying instructionsto cause a mobile device to perform functions, including functions to:operate an image sensor of the mobile device to capture an image of atleast two visible light signal in an outdoor location including amodulated visible light signal transmitted by one of the at least onevisible light source of an indoor location; demodulate the modulatedvisible light signal transmitted by the one of the at least two visiblelight source using the captured image; determine a light sourceidentifier corresponding to the one visible light source based on thedemodulated visible light signals; retrieve position informationcorresponding to the determined light source identifier, the retrievedposition information including position coordinates in three dimensionsof the one light source corresponding to the light source identifier andof other light sources; and calculate, by applying photogrammetric imageprocessing techniques to the image of the at least two light sources andthe position coordinates of the at least two light sources, coordinatesfor a position of the mobile device relative in the indoor location. 15.The non-transitory tangible computer readable medium of claim 14,wherein retrieving position information is further comprises: transmit,via a wireless interface configured to communicate through a networkover a wireless medium, a request to a server, the request requestingposition information corresponding to each determined light sourceidentifier; and receive, via the wireless interface, positioninformation corresponding to the determined light source identifiers.16. The non-transitory tangible computer readable medium of claim 14,further comprises: access indoor location information stored in a memoryof the mobile device, wherein the indoor location information includes amap of the indoor location, light source identifiers, and positioninformation of light sources within the indoor location; and retrieveposition information from the accessed indoor location informationcorresponding to the determined light source identifier.
 17. Thenon-transitory tangible computer readable medium of claim 14, whereindemodulating the visible light signals further comprises: apply athreshold to the captured image to isolate regions of brighter pixels inthe image, wherein the three light sources appear in brighter regions ofpixels than other pixels in the captured image; in response to isolatingthe brighter regions of pixels in the captured image, independentlyprocess each of the isolated brighter regions as corresponding to eachvisible light source to determine the visible light signal transmittedby the respective light sources.
 18. The non-transitory tangiblecomputer readable medium of claim 14, further comprising: retrieve, froma memory of the mobile device, a map of the indoor location in which themobile device is located; and present, on a display device of the mobiledevice, the map with an identifying marker corresponding to thecalculated coordinates of the position of the mobile device overlaid onthe map.
 19. The non-transitory tangible computer readable medium ofclaim 14, further comprising: retrieve, from a memory of the mobiledevice, a map of the indoor location in which the mobile device islocated; and present, on a display device of the mobile device, the mapwith an identifying marker corresponding to the calculated coordinatesof the position of the mobile device overlaid on the map.
 20. Thenon-transitory tangible computer readable medium of claim 14, whereinthe image sensor is a rolling shutter camera.